<?PHP
 require_once('inc/int.php');
 require_once('inc/releases.php');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>DMDirc :: <?PHP echo t('menu_unstable'); ?></title>
  <link rel="stylesheet" type="text/css" href="res/style.css">
  <link rel="icon" type="image/png" href="res/favicon.png">
 </head>
 <body>
  <div id="container">
   <img id="logo" src="res/logo.png" alt="DMDirc logo">
   <h1>DMDirc</h1>
<?PHP define('PAGE', 'releases'); define('SUBPAGE', 'unstable'); require_once('inc/menu.php'); ?>
   <div id="content">

    <h2><?PHP echo t('menu_unstable'); ?></h2>

    <div class="warning">
     <p>
      These versions of DMDirc may potentially be unstable.
      If you want a working, stable version of DMDirc, please download the
      latest release from our <a href="downloads">downloads</a> page.
     </p>
    </div>

<?PHP foreach ($releases['unstable'] as $name => $release) { if (!is_array($release)) { continue; } ?>
    <div class="download_os">
     <img src="res/<?PHP echo $name; ?>.png" alt="<?PHP echo ucfirst($name); ?>">
     <a href="<?PHP echo $release['url']; ?>">
      Download the <?PHP echo $release['title']; ?>
     </a>
     <p><?PHP echo basename($release['url']), ', ', $release['size']; ?></p>
    </div>
<?PHP } ?>
    <h3>Getting help and reporting problems</h3>
    <p>
     If you need help or have found a problem with these releases, the easiest
     way to contact the developers is by joining
     <a href="irc://irc.quakenet.org/#DMDirc">#DMDirc on Quakenet</a>.
     Alternatively, you can send feedback or bug reports using the "Send feedback" option
     in DMDirc's help menu (please do not send requests for help
     using this method).
    </p>
   </div>
   <div id="footer">
   </div>
  </div>
 </body>
</html>
